import Vue from 'vue'
import Router from 'vue-router'

const Index = resolve => require(['@/components/Index'], resolve);
const Login = resolve => require(['@/components/login/login'], resolve);
// 首页弹窗管理
const IndexPopupManage = resolve => require(['@/components/indexPopupManage/indexPopupManage'], resolve);
const IndexPopupOperateDetail = resolve => require(['@/components/indexPopupManage/indexPopupOperateDetail'], resolve);
// 专题页管理
const ThematicPage = resolve => require(['@/components/information/thematicPage/ThematicPage'], resolve);
const OperateThematicPage = resolve => require(['@/components/information/thematicPage/OperateThematicPage'], resolve);
//金蝶推送管理
const JindieManage = resolve => require(['@/components/jindieManage/jindieManage'], resolve);
//楼盘映射组织关系
const buildMembership = resolve => require(['@/components/jindieManage/buildingMembership'], resolve)
//楼盘映射组织关系历史记录
const buildingHistory = resolve => require(['@/components/jindieManage/buildingHistory'], resolve)

const ViewThematicPage = resolve => require(['@/components/information/thematicPage/viewThematicPage'], resolve);
//人事公告
const HrNotice = resolve => require(['@/components/hr/HrNotice'], resolve);

//直播管理
const liveManage = resolve => require(['@/components/liveManage/liveManage'], resolve);
const addLive = resolve => require(['@/components/liveManage/addLive'], resolve);
const editLive = resolve => require(['@/components/liveManage/editLive'], resolve);
//产权
//项目管理
const projectManagement = resolve => require(['@/components/Property/projectManagement/projectManagement'], resolve);
const baseStep1 = resolve => require(['@/components/Property/projectManagement/baseStep1'], resolve) //step1 基础信息
const houseInformationStep2 = resolve => require(['@/components/Property/projectManagement/houseInformationStep2'], resolve); //step2 房源信息
const projectInformationStep3 = resolve => require(['@/components/Property/projectManagement/projectInformationStep3'], resolve); //step3 项目信息

const accountManagement = resolve => require(['@/components/Property/accountManagement/accountManagement'], resolve)
//产权跟进
const propertyFollow = resolve => require(['@/components/Property/propertyFollow/propertyFollow'], resolve)
const propertyFollowLook = resolve => require(['@/components/Property/propertyFollow/propertyFollowLook'], resolve)

// 订单管理
const orderManagement = resolve => require(['@/components/Property/orderManagement/orderManagement'],resolve)
const orderCheck = resolve => require(['@/components/Property/orderManagement/orderCheck'],resolve)


// 产权节点管理
const propertyPoint = resolve => require(['@/components/sysSet/propertyPoint/propertyPoint'], resolve)
// 业务流程管理
const businessProcess = resolve => require(['@/components/sysSet/businessProcess/businessProcess'], resolve)
const operatorBusinessProcess = resolve => require(['@/components/sysSet/businessProcess/operatorBusinessProcess'], resolve)
//海报配置管理
const posterManage = resolve => require(['@/components/poster/poster'], resolve)
const addPoster = resolve => require(['@/components/poster/addposter'], resolve)
const editPoster = resolve => require(['@/components/poster/editposter'], resolve)

//接口配置
const projectmap = resolve => require(['@/components/interfaceConfigure/projectMapping'], resolve) //项目映射
const mappedHouseList = resolve => require(['@/components/interfaceConfigure/mappedHouseList'], resolve) //项目映射
const customerstatus = resolve => require(['@/components/interfaceConfigure/customerStatus'], resolve) //客户状态映射
const interfaceMapping = resolve => require(['@/components/interfaceConfigure/interfaceMapping'], resolve) //客户状态映射
const synchronizationJournal = resolve => require(['@/components/interfaceConfigure/synchronizationJournal'], resolve) //查看同步日志
//合同管理
const contractlist = resolve => require(['@/components/contractManage/contractSignManage'], resolve) //合同签订管理
const contractaddoredit = resolve => require(['@/components/contractManage/contractSignManage/addOreditcontract'], resolve) //新增or编辑合同
const contractTypeManage = resolve => require(['@/components/contractManage/contractTypeManage'], resolve) //合同类型管理
const changeContractType = resolve => require(['@/components/contractManage/contractTypeManage/changeContractType'], resolve) //添加/编辑/查看合同类型
const intLegalPersonManage = resolve => require(['@/components/contractManage/intLegalPersonManage'], resolve) //内部法人管理
const channelOrAgentManage = resolve => require(['@/components/contractManage/channelOrAgentManage'], resolve) //渠道/经纪管理
const developersManage = resolve => require(['@/components/contractManage/developersManage'], resolve) //开发商管理
const changeLegalPerson = resolve => require(['@/components/contractManage/intLegalPersonManage/changeLegalPerson'], resolve) //内部法人-新增/编辑/详情
const changeChannelOrAgent = resolve => require(['@/components/contractManage/channelOrAgentManage/changeChannelOrAgent'], resolve) //渠道/经纪-新增/编辑/详情
const changeDevelopers = resolve => require(['@/components/contractManage/developersManage/changeDevelopers'], resolve) //开发商-新增/编辑/详情
const importLegalPerson = resolve => require(['@/components/contractManage/intLegalPersonManage/importLegalPerson'], resolve) //内部法人-导入
const importChannelOrAgent = resolve => require(['@/components/contractManage/channelOrAgentManage/importChannelOrAgent'], resolve) //渠道/经纪-导入
const importDevelopers = resolve => require(['@/components/contractManage/developersManage/importDevelopers'], resolve) //开发商-导入
const contractModelManage = resolve => require(['@/components/contractManage/contractModelManage'], resolve) //范本管理
const changeContractModel = resolve => require(['@/components/contractManage/contractModelManage/changeContractModel'], resolve) //范本管理-新增/编辑/详情
const enterletter = resolve => require(['@/components/contractManage/contractSignManage/enterletter'], resolve) //进场函管理
const aelenterletter = resolve => require(['@/components/contractManage/contractSignManage/addoreditEnterletter'], resolve) //进场函新增编辑查看
const lookprogress = resolve => require(['@/components/contractManage/contractSignManage/lookprogress'], resolve) //合同查看流程
const changerecord = resolve => require(['@/components/contractManage/contractSignManage/changerecord'], resolve) //合同变更记录
const changedetail = resolve => require(['@/components/contractManage/contractSignManage/changedetail'], resolve) //合同变更记录详情
const contractsearch = resolve => require(['@/components/contractManage/contractSignManage/contractSearch'], resolve) //合同查询
const contractend = resolve => require(['@/components/contractManage/contractSignManage/contractEnd'], resolve) //合同终止
const addcontractend = resolve => require(['@/components/contractManage/contractSignManage/addcontractEnd'], resolve) //新增合同终止

// 员工分佣
const intervalStandard = resolve => require(['@/components/staffCommission/standardManage/intervalStandard'], resolve) //业绩结算标准 - 区间标准设置
const intervalStandardAdd = resolve => require(['@/components/staffCommission/standardManage/intervalStandardAdd'], resolve) //业绩结算标准 - 区间标准设置 - 新建
const transactionSettlement = resolve => require(['@/components/staffCommission/standardManage/transactionSettlement'], resolve) //业绩结算标准 - 成交结算标准
const transactionSettlementHandle = resolve => require(['@/components/staffCommission/standardManage/transactionSettlementHandle'], resolve) //业绩结算标准 - 成交结算标准 - 新建查看编辑
const revenueSettlement = resolve => require(['@/components/staffCommission/standardManage/revenueSettlement'], resolve) //业绩结算标准 - 营收结算标准
const revenueSettlementHandle = resolve => require(['@/components/staffCommission/standardManage/revenueSettlementHandle'], resolve) //业绩结算标准 - 营收结算标准
const profitSettlement = resolve => require(['@/components/staffCommission/standardManage/profitSettlement'], resolve) //业绩结算标准 - 利润结算标准
const profitSettlementHandle = resolve => require(['@/components/staffCommission/standardManage/profitSettlementHandle'], resolve) //业绩结算标准 - 利润结算标准

const performanceIncentive = resolve => require(['@/components/staffCommission/standardManage/performanceIncentive'], resolve) //业绩结算标准 - 业绩激励标准
const performanceIncentiveHandle = resolve => require(['@/components/staffCommission/standardManage/performanceIncentiveHandle'], resolve) //业绩结算标准 - 业绩激励标准
const transactionCommission = resolve => require(['@/components/staffCommission/standardManage/transactionCommission'], resolve) //业绩结算标准 - 交易佣金标准
const transactionCommissionHandle = resolve => require(['@/components/staffCommission/standardManage/transactionCommissionHandle'], resolve) //业绩结算标准 - 交易佣金标准
const profitIncentive = resolve => require(['@/components/staffCommission/standardManage/profitIncentive'], resolve) //业绩结算标准 - 利润激励
const profitIncentiveHandle = resolve => require(['@/components/staffCommission/standardManage/profitIncentiveHandle'], resolve) //业绩结算标准 - 利润激励

// 员工分佣 - 业绩结算
const achievementMonth = resolve => require(['@/components/staffCommission/insideIncetive/achievementMonth'], resolve)
const achievementMonthDetail = resolve => require(['@/components/staffCommission/insideIncetive/achievementMonthDetail'], resolve)
const achievementMonthReport = resolve => require(['@/components/staffCommission/insideIncetive/achievementMonthReport'], resolve)
const achievementYear = resolve => require(['@/components/staffCommission/insideIncetive/achievementYear'], resolve)
const achievementYearDetail = resolve => require(['@/components/staffCommission/insideIncetive/achievementYearDetail'], resolve)
const achievementYearDetailChange = resolve => require(['@/components/staffCommission/insideIncetive/achievementYearDetailChange'], resolve)
const createReport = resolve => require(['@/components/staffCommission/insideIncetive/createReport'], resolve)
const transactionCommissionGroupTable = resolve => require(['@/components/staffCommission/insideIncetive/transactionCommissionGroupTable'], resolve)
const profitTable = resolve => require(['@/components/staffCommission/insideIncetive/profitTable'], resolve)
const profittableReport = resolve => require(['@/components/staffCommission/insideIncetive/profittableReport'], resolve) //内部激励生成报表
const profittableReportAdjust = resolve => require(['@/components/staffCommission/insideIncetive/profittableReportAdjust'], resolve) //调整报表
const profitTableDetail = resolve => require(['@/components/staffCommission/insideIncetive/profitTableDetail'], resolve)
const profitTableDetailChange = resolve => require(['@/components/staffCommission/insideIncetive/profitTableDetailChange'], resolve)
const staffCommission = resolve => require(['@/components/staffCommission/insideIncetive/staffCommission'], resolve)
const staffCommissionView = resolve => require(['@/components/staffCommission/insideIncetive/staffCommissionView'], resolve)

const projectCommissionIncentiveStatement = resolve => require(['@/components/staffCommission/insideIncetive/projectCommissionIncentiveStatement'], resolve)
const projectCommissionIncentiveView = resolve => require(['@/components/staffCommission/insideIncetive/projectCommissionIncentiveView'], resolve)
const projectCommissionIncentiveViewDetail = resolve => require(['@/components/staffCommission/insideIncetive/projectCommissionIncentiveViewDetail'], resolve)


const transactionCommissionStaffTable = resolve => require(['@/components/staffCommission/insideIncetive/transactionCommissionStaffTable'], resolve)
const transactionCommissionTable = resolve => require(['@/components/staffCommission/insideIncetive/transactionCommissionTable'], resolve)
const transactionCommissionTableReport = resolve => require(['@/components/staffCommission/insideIncetive/transactionCommissionTableReport'], resolve)
const searchReport = resolve => require(['@/components/staffCommission/searchReport/searchReport'], resolve)
const achievementYearReport = resolve => require(['@/components/staffCommission/insideIncetive/achievementYearReport'], resolve) //年 生成报表

// -----------------------------------员工管理start-----------------------------------------------
//部门管理
const department = resolve => require(['@/components/staffCommission/staff/department'], resolve)
//业务线管理
const businesslines = resolve => require(['@/components/staffCommission/staff/businessLines'], resolve)
//岗位管理
const post = resolve => require(['@/components/staffCommission/staff/postManagement'], resolve)
//岗位新建
const postnewbuilt = resolve => require(['@/components/staffCommission/staff/postNewBuilt'], resolve)
//项目分佣管理
const subcommission = resolve => require(['@/components/staffCommission/staff/projectSubCommission'], resolve)
//项目分佣设置
const subcommissionSet = resolve => require(['@/components/staffCommission/staff/projectSubCommissionSet'], resolve)
// 员工管理  员工新建
const staffmanage = resolve => require(['@/components/staffCommission/staff/staffManage'], resolve)
const staffnewbuilt = resolve => require(['@/components/staffCommission/staff/staffNewBuilt'], resolve)
//项目等级管理
const projectlevel = resolve => require(['@/components/staffCommission/staff/projectlevel'], resolve)
//项目分佣比例明细
const subcommissionDetail = resolve => require(['@/components/staffCommission/staff/projectSubCommissionDetail'], resolve)
//项目分佣比例明细查看
const projectSubCommissionDetailSee = resolve => require(['@/components/staffCommission/staff/projectSubCommissionDetailSee'], resolve)
const cooperativelable = resolve =>require(['@/components/staffCommission/staff/cooperativeLabel'], resolve)//合作标签
const projectSubCommissionSetKeyMan = resolve =>require(['@/components/staffCommission/staff/projectSubCommissionSetKeyMan'], resolve)//关键人设置

// —————————————————————————————————————业绩结算 start———————————————————————————————————————————————————
// 成交结算
const transactionSettle = resolve => require(['@/components/staffCommission/performanceSettlement/transactionSettlement'], resolve)
//查看某月份的成交结算
const transactionSettle2 = resolve => require(['@/components/staffCommission/performanceSettlement/transactionSettlement2'], resolve)
//成交结算的交易订单
const transactionSettleOrder = resolve => require(['@/components/staffCommission/performanceSettlement/transactionSettleOrder'], resolve)
//成交结算生成报表
const transactionSettleReport = resolve => require(['@/components/staffCommission/performanceSettlement/transactionSettleReport'], resolve)
//营收结算月
const revenueSettlementMonth = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementMonth'], resolve)
//营收结算月详情页
const revenueSettlementMonthDetail = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementMonthDetail'], resolve)
//营收结算订单页
const revenueSettlementMonthOrder = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementMonthOrder'], resolve)
//营收结算月报表
const revenueSettlementMonthReport = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementMonthReport'], resolve)
//营收结算年
const revenueSettlementYear = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementYear'], resolve)
//营收结算年报表页
const revenueSettlementYearReport = resolve => require(['@/components/staffCommission/performanceSettlement/revenueSettlementYearReport'], resolve)
//利润结算-业绩相关
const profitSettlementPerformance = resolve => require(['@/components/staffCommission/performanceSettlement/profitSettlementPerformance'], resolve)
//利润结算报表
const profitSettlementReport = resolve => require(['@/components/staffCommission/performanceSettlement/profitSettlementReport'], resolve)
//市场结算 市场结算详情  交易订单 生成报表
const marketSettlement = resolve => require(['@/components/staffCommission/performanceSettlement/marketSettlement'], resolve)
const marketSettlementDetail = resolve => require(['@/components/staffCommission/performanceSettlement/marketSettlementDetail'], resolve)
const marketSettlementOrder = resolve => require(['@/components/staffCommission/performanceSettlement/marketSettlementOrder'], resolve)
const marketSettlementReport = resolve => require(['@/components/staffCommission/performanceSettlement/marketSettlementReport'], resolve)


//团奖申请 财务 编辑查看
const groupAwardApply =  resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardApply'], resolve)
const groupAwardApplyFinance =  resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardApplyFinance'], resolve)
const groupAwardApplyDetail = resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardApplyDetail'], resolve)
const groupAwardApplyInfo = resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardApplyInfo'], resolve)
const groupAwardApplyFinanceAudit = resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardApplyFinanceAudit'], resolve)




// ——————————————————————————————————————————————————————跟投 start———————————————————————————————————————————————————//
//标准管理-项目合作标准列表
//标准管理-项目合作标准-新增、编辑、详情
const projectCooperate = resolve => require(['@/components/investment/standardManage/projectCooperate'], resolve)
const changeCooperate = resolve => require(['@/components/investment/standardManage/projectCooperate/changeCooperate'], resolve)
//标准管理-佣金结算标准列表
//标准管理-佣金结算标准-新增、编辑、详情
const billingCommissions = resolve => require(['@/components/investment/standardManage/billingCommissions'], resolve)
const changeCommissions = resolve => require(['@/components/investment/standardManage/billingCommissions/changeCommissions'], resolve)
//标准管理-费用管控标准列表
//标准管理-费用管控标准-新增、编辑、详情
const costControl = resolve => require(['@/components/investment/standardManage/costControl'], resolve)
const changeCostControl = resolve => require(['@/components/investment/standardManage/costControl/changeCostControl'], resolve)
//标准管理-跟投管控标准列表
//标准管理-跟投管控标准-新增、编辑、详情
const followUpControl = resolve => require(['@/components/investment/standardManage/followUpControl'], resolve)
const changeFollowUp = resolve => require(['@/components/investment/standardManage/followUpControl/changeFollowUp'], resolve)

//分红 跟投分配规则编辑 新建 详情
const dividendRule = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/dividendRule'], resolve)
const dividendRuleDetail = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/dividendRuleDetail'], resolve)
const dividendRuleInfo = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/dividendRuleInfo'], resolve)


const investmentDistributionRule = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/investmentDistributionRule'], resolve)
const investmentRuleAdd = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/investmentRuleAdd'], resolve)
const investmentRuleInfo = resolve => require(['@/components/investment/investmentManage/investmentRuleManage/investmentRuleInfo'], resolve)

//转账汇款审核
const trasferAudit = resolve => require(['@/components/investment/investmentManage/transferAudit/transferAudit'], resolve)
const transferAuditDetails = resolve => require(['@/components/investment/investmentManage/transferAudit/transferAuditDetail'], resolve)


// 跟投管理-项目进展查看
const projectProgress = resolve => require(['@/components/investment/investmentManage/projectProgress/projectProgress'], resolve)
const projectProgressCheck = resolve => require(['@/components/investment/investmentManage/projectProgress/projectProgressCheck'], resolve)

// 跟投管理-项目清算管理
const projectLiquidationManagement = resolve => require(['@/components/investment/investmentManage/projectLiquidationManagement/projectLiquidationManagement'], resolve)
const generatingLiquidation = resolve => require(['@/components/investment/investmentManage/projectLiquidationManagement/generatingLiquidation'], resolve)
const liquidationDetail = resolve => require(['@/components/investment/investmentManage/projectLiquidationManagement/liquidationDetail'], resolve)

// 跟投项目管理
const projectList = resolve => require(['@/components/investment/investmentManage/projectList/projectList'], resolve)
const operateFollowPro = resolve => require(['@/components/investment/investmentManage/projectList/operateFollowPro'], resolve)
const transferManagement = resolve => require(['@/components/investment/investmentManage/projectList/transferManagement'], resolve)
const transferAudit = resolve => require(['@/components/investment/investmentManage/projectList/transferAudit'], resolve)
const transferRejection = resolve => require(['@/components/investment/investmentManage/projectList/transferRejection'], resolve)
const examineDetail = resolve => require(['@/components/investment/investmentManage/projectList/examineDetail'], resolve)
const followProDetails = resolve => require(['@/components/investment/investmentManage/projectList/followProDetails'], resolve)//详情

//跟投收益记录 列表、查看
const investmentProfit = resolve => require(['@/components/investment/investmentManage/investmentProfit'], resolve)
const viewProfit = resolve => require(['@/components/investment/investmentManage/investmentProfit/viewProfit'], resolve)

// 费用结算管理
const costSettlementManage = resolve => require(['@/components/investment/costSettlementManage/costSettlementManage'], resolve)

//跟投支付管理 列表/查看
const investmentPayManage = resolve => require(['@/components/investment/investmentManage/investmentPayManage'], resolve)
const viewInvestmentPay = resolve => require(['@/components/investment/investmentManage/investmentPayManage/viewInvestmentPay'], resolve)




/* ——————————————————————————————结算支付-返还款-银行转账-奖励佣金-金蝶辅助账start——————————————————————————————————————————————————— */
// 购物卡查询
const shoppingCardQuery = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardQuery'], resolve)
// 购物卡发货
const shoppingCardSend = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSend'], resolve)
// 购物卡发货单详情
const shoppingCardSendDetail = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSendDetail'], resolve)
// 购物卡新建发货单
const shoppingCardSendNew = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSendNew'], resolve)
// 购物卡结佣列表
const shoppingCardSettlement = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSettlement'], resolve)
// 购物卡-结佣确认
const shoppingCardSettlementTobeConfirm = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSettlementTobeConfirm'], resolve)
// 购物卡-结佣
const shoppingCardSettlementCommission = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSettlementCommission'], resolve)
// 购物卡结佣记录
const shoppingCardSettlementRecord = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardSettlementRecord'], resolve)
// 购物卡库存
const shoppingCardStock = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardStock'], resolve)
// 购物卡批量入库
const shoppingCardStockBulkUpload = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardStockBulkUpload'], resolve)
// 购物卡出入库记录
const shoppingCardStockRecord = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardStockRecord'], resolve)
// 购物卡类别
const shoppingCardType = resolve => require(['@/components/settlementPayment/shoppingCard/shoppingCardType'], resolve)
// 金蝶对接 辅助账客户映射
const customerMapping = resolve => require(['@/components/settlementPayment/jindieDocking/customerMapping'], resolve)
// 金蝶对接 辅助账项目映射
const projectMapping = resolve => require(['@/components/settlementPayment/jindieDocking/projectMapping'], resolve)
// 金蝶对接 辅助账供应商映射
const supplierMapping = resolve => require(['@/components/settlementPayment/jindieDocking/supplierMapping'], resolve)
// 银行转账审核 列表
const transferAuditList = resolve => require(['@/components/settlementPayment/transferAudit/transferAuditList'], resolve)
// 银行转账审核 审核详情
const transferAuditDetail = resolve => require(['@/components/settlementPayment/transferAudit/transferAuditDetail'], resolve)
// 银行转账审核 查看详情
const transferViewDetail = resolve => require(['@/components/settlementPayment/transferAudit/transferViewDetail'], resolve)
// 待支付清单
const tobepaidlist = resolve => require(['@/components/settlementPayment/settlePayManage/toBePaidlist'], resolve)
// 待支付清单详情
const payorderdetail = resolve => require(['@/components/settlementPayment/settlePayManage/toBePaidlist/payOrderDetail'], resolve)
// 结算查询
const settlesearch = resolve => require(['@/components/settlementPayment/settlePayManage/settlesearch'], resolve)

const searchsettle = resolve => require(['@/components/settlementPayment/settlePayManage/searchOrder'], resolve)

// 支付清单审批（单据）
const payordercheck = resolve => require(['@/components/settlementPayment/settlePayManage/toBePaidlist/payOrderCheck'], resolve)
// 支付清单支付设置（单据）
const payset = resolve => require(['@/components/settlementPayment/settlePayManage/paySet'], resolve)
// 支付清单确认支付结果
const confirmpayresult = resolve => require(['@/components/settlementPayment/settlePayManage/toBePaidlist/confirmPayResult'], resolve)

/* ——————————————————————————————结算支付-返还款-银行转账-奖励佣金-金蝶辅助账end——————————————————————————————————————————————————— */


/*———————————————————————————————————————————————— 财务管理————————————————————————————————————————————————————*/
// 返还款列表
const developerPayment = resolve => require(['@/components/settlementPayment/finance/developerPayment'], resolve)
// 返还款付款单(新增)
const addPayment = resolve => require(['@/components/settlementPayment/finance/addPayment'], resolve)
// 返还款查看/审核
const developerPaymentSee = resolve => require(['@/components/settlementPayment/finance/developerPaymentSee'], resolve)
// 返还款编辑
// const editsPayment  = resolve => require(['@/components/settlementPayment/finance/editsPayment '], resolve)
const editPayment = resolve => require(['@/components/settlementPayment/finance/editPayment'], resolve)
// 开发商返还款查询
const developerQuery = resolve => require(['@/components/settlementPayment/finance/developerQuery'], resolve)
// 经纪人奖励管理
const brokerAward = resolve => require(['@/components/settlementPayment/finance/brokerAward'], resolve)
// 经纪人奖励管理 --- 查看/审核
const brokerAwardDetail = resolve => require(['@/components/settlementPayment/finance/brokerAwardDetail'], resolve)
// 经纪人奖励管理 -- 批量申请
const brokerAwardBatch = resolve => require(['@/components/settlementPayment/finance/brokerAwardBatch'], resolve)
// 开发商返还款新增的 查看流程
const H3Reimbursement = resolve => require(['@/components/settlementPayment/finance/H3Reimbursement'], resolve)
// 开发商返还款编辑的查看流程
const h3ViewProcess = resolve => require(['@/components/settlementPayment/finance/h3ViewProcess'], resolve)


// 基础数据--> 行名行号设置
const bankNameSet = resolve => require(['@/components/settlementPayment/basicData/bankNameSet'], resolve)

//好生活2.0 财务管理
const efCapitalSummary = resolve => require(['@/components/financialManage/efCapitalSummary'], resolve)//好生活资金池
const efCommissionSummary = resolve => require(['@/components/financialManage/efCommissionSummary'], resolve)//好生活佣金汇总
const buildingTradeDetail = resolve => require(['@/components/financialManage/efCommissionSummary/buildingTradeDetail'], resolve)//好生活佣金汇总-楼盘成交详情
const brokerDealDetail = resolve => require(['@/components/financialManage/efCommissionSummary/brokerDealDetail'], resolve)//好生活佣金汇总-楼盘成交详情
const efcapitalSummaryDetail = resolve => require(['@/components/financialManage/efCapitalSummary/efcapitalSummaryDetail'], resolve)//好生活资金池-详情
const brokerSettlement = resolve => require(['@/components/financialManage/brokerSettlement'], resolve)//经纪人结佣
const companyDetail = resolve => require(['@/components/financialManage/brokerSettlement/brokerageComm/companyDetail'], resolve)//经纪人结佣-经纪公司佣金-成交详情
const brokerDetail = resolve => require(['@/components/financialManage/brokerSettlement/brokerComm/brokerDetail'], resolve)//经纪人结佣-经纪人佣金-成交详情
const rewardDeatil = resolve => require(['@/components/financialManage/brokerSettlement/brokerReward/rewardDeatil'], resolve)//经纪人结佣-经纪人奖励-成交详情const efCapitalSummary = resolve => require(['@/components/financialManage/efCapitalSummary'], resolve)//好生活资金池
const returnConfirm = resolve => require(['@/components/settlementPayment/returnConfirm/returnConfirm'], resolve)//回款确认
const returnConfirmCheck = resolve => require(['@/components/settlementPayment/returnConfirm/returnConfirmCheck'], resolve)//回款确认-查看编辑
const returnConfirmNew = resolve => require(['@/components/settlementPayment/returnConfirm/returnConfirmNew'], resolve)//回款确认-新建批次

/*———————————————————————————————————————————————— KPI指标管理————————————————————————————————————————————————————*/
const kpiTarget = resolve => require(['@/components/settlementPayment/kpiTarget'], resolve);
const lifekpiCheck = resolve => require(['@/components/settlementPayment/kpiTarget/lifekpiCheck'], resolve);
const importData = resolve => require(['@/components/settlementPayment/kpiTarget/importData'], resolve);
const targetDetail = resolve => require(['@/components/settlementPayment/kpiTarget/targetDetail'], resolve);

/*———————————————————————————————————————————————— 客户管理————————————————————————————————————————————————————*/
const customerList = resolve => require(['@/components/customerManagement/customerList'], resolve);
const customerDetail = resolve => require(['@/components/customerManagement/customerList/detail'], resolve);
const rejectStatistics = resolve => require(['@/components/customerManagement/rejectStatistics'], resolve);
const userCenter = resolve => require(['@/components/customerManagement/userCenter'], resolve);
const userDetail = resolve => require(['@/components/customerManagement/userCenter/detail'], resolve);
const transactionAndCommission = resolve => require(['@/components/customerManagement/transactionAndCommission/transactionAndCommission'], resolve);
const transactionCommissionNew = resolve => require(['@/components/customerManagement/transactionAndCommission/transactionCommissionNew'], resolve);
const transactionCommissionNewCheck = resolve => require(['@/components/customerManagement/transactionAndCommission/transactionCommissionNewCheck'], resolve);
const ruleDetail = resolve => require(['@/components/customerManagement/transactionAndCommission/ruleDetail'], resolve);
Vue.use(Router)


// 员工分佣2期 标准管理
const groupAwardStandard = resolve => require(['@/components/staffCommission/standardManage/groupAwardStandard'], resolve)
const marketCommissionStandard = resolve => require(['@/components/staffCommission/standardManage/marketCommissionStandard'], resolve)
const marketCommissionStandardHandle = resolve => require(['@/components/staffCommission/standardManage/marketCommissionStandardHandle'], resolve)
const marketSettlementStandard = resolve => require(['@/components/staffCommission/standardManage/marketSettlementStandard'], resolve)
const marketSettlementStandardHandle = resolve => require(['@/components/staffCommission/standardManage/marketSettlementStandardHandle'], resolve)
const profitStandardSetting = resolve => require(['@/components/staffCommission/standardManage/profitStandardSetting'], resolve)
const profitStandardSettingHandle = resolve => require(['@/components/staffCommission/standardManage/profitStandardSettingHandle'], resolve)



const marketCommissionDetailTable = resolve => require(['@/components/staffCommission/insideIncetive/marketCommissionDetailTable'], resolve)
const marketCommissionReport = resolve => require(['@/components/staffCommission/insideIncetive/marketCommissionReport'], resolve)
const marketCommissionTable = resolve => require(['@/components/staffCommission/insideIncetive/marketCommissionTable'], resolve)
const groupAwardsTable = resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardsTable'], resolve)
const groupAwardsTableDetail = resolve => require(['@/components/staffCommission/groupAwardSettlement/groupAwardsTableDetail'], resolve)




/* ——————————————————cms2.0————————————————————————*/
//驳回类目管理
const rejectionCatory= resolve => require(['@/components/systemManage/rejectionCatoryManage'], resolve)
const rejectionReason= resolve => require(['@/components/systemManage/rejectionReasonManage'], resolve)
const splashscreen= resolve => require(['@/components/splashScreenConfig'], resolve)
const addoredit= resolve => require(['@/components/splashScreenConfig/addoredit'], resolve)






//
const brokerAwarddddd = resolve => require(['@/components/settlementPayment/finance/brokerAwarddddd'],resolve)
const shareAdd = resolve => require(['@/components/share/shareAdd'],resolve)
const share = resolve => require(['@/components/share/share'],resolve)

Vue.use(Router)
// 获取所有 vue文件
const modulesFiles = require.context('../views', true, /\.vue$/)
const modules = modulesFiles.keys().reduce((modules, modulePath) => {
    const moduleName = modulePath.replace(/^\.\/(.*)\.\w+$/, '$1')
    const value = modulesFiles(modulePath)
    modules[moduleName] = value.default
    return modules
}, {})

let generateRouter = []
let generateRouterMap = {}
for (let key in modules) {
    let item = modules[key]
    // 页面必须有name, 才注入路由
    if(item.name){
        // 查询到name重复，抛错。
        if (generateRouterMap[item.name]) {
            throw new Error(`页面 name 配置重复,请检查对比目录文件：
@/src/views/${generateRouterMap[item.name]}.vue,
@/src/views/${key}.vue`)
        } else {
            generateRouterMap[item.name] = key
            generateRouter.push({
                name: item.name,
                path: '/' + item.name,
                meta: {
                    name: item.title,
                    sourceName: item.sourceName
                },
                component: resolve => require(['@/views/' + key + '.vue'], resolve)
            })
        }
    }
}
export default new Router({
  routes: [{
      path: '/login',
      name: 'login',
      component: Login
    },
    {
      path: '/',
      name: 'Index',
      component: Index,
      redirect: '/fakeHomePage',
      children: [
        ...generateRouter,
        // 首页弹窗管理
        {
          path: '/indexPopupManage',
          name: 'IndexPopupManage',
          component: IndexPopupManage
        },
        {
          path: '/indexPopupOperateDetail',
          name: 'IndexPopupOperateDetail',
          component: IndexPopupOperateDetail
        },
        // 专题页管理
        {
          path: '/thematicPage',
          name: 'ThematicPage',
          component: ThematicPage
        },
        {
          path: '/operateThematicPage',
          name: 'OperateThematicPage',
          component: OperateThematicPage
        },
        {
          path: '/JindieManage',
          name: 'JindieManage',
          component: JindieManage
        },
        {
          path: '/viewThematicPage',
          name: 'ViewThematicPage',
          component: ViewThematicPage
        },
        {
          path: '/HrNotice',
          name: 'HrNotice',
          component: HrNotice
        },
        {
          path: '/buildMembership',
          name: 'buildMembership',
          component: buildMembership
        },
        {
          path: '/buildingHistory',
          name: 'buildingHistory',
          component: buildingHistory
        },
        {
          path: '/projectManagement',
          name: 'projectManagement',
          component: projectManagement
        },
        {
          path: '/accountManagement',
          name: 'accountManagement',
          component: accountManagement
        },
        {
          path: '/propertyfollow',
          name: 'propertyFollow',
          component: propertyFollow
        },
        {
          path: '/propertyfollowlook',
          name: 'propertyFollowLook',
          component: propertyFollowLook
        },
        {
          path: '/orderManagement',
          name: 'orderManagement',
          component: orderManagement
        },
        {
          path: '/orderCheck',
          name: 'orderCheck',
          component: orderCheck
        },

        {
          path: '/propertyPoint',
          name: 'propertyPoint',
          component: propertyPoint
        },
        {
          path: '/businessProcess',
          name: 'businessProcess',
          component: businessProcess
        },
        {
          path: '/operatorBusinessProcess',
          name: 'operatorBusinessProcess',
          component: operatorBusinessProcess
        },
        {
          path: '/baseStep1',
          name: 'baseStep1',
          component: baseStep1
        },
        {
          path: '/houseInformationStep2',
          name: 'houseInformationStep2',
          component: houseInformationStep2
        },
        {
          path: '/projectInformationStep3',
          name: 'projectInformationStep3',
          component: projectInformationStep3
        },
        { //直播列表
          path: '/livemanage',
          name: 'liveManage',
          component: liveManage
        },
        { //直播添加
          path: '/addlive',
          name: 'addLive',
          component: addLive
        },
        { //直播编辑
          path: '/editlive',
          name: 'editLive',
          component: editLive
        },
        { //海报列表
          path: '/postermanage',
          name: 'posterManage',
          component: posterManage
        },
        { //新增海报
          path: '/addposter',
          name: 'addPoster',
          component: addPoster
        },
        { //编辑海报
          path: '/editposter',
          name: 'editPoster',
          component: editPoster
        },
        {
          path: '/projectmap',
          name: 'projectmap',
          component: projectmap
        },
        {
          path: '/mappedHouseList',
          name: 'mappedHouseList',
          component: mappedHouseList
        },
        {
          path: '/customerstatus',
          name: 'customerstatus',
          component: customerstatus,
        },
        {
          path: '/interfaceMapping',
          name: 'interfaceMapping',
          component: interfaceMapping,
        },
        {
          path: '/synchronizationJournal',
          name: 'synchronizationJournal',
          component: synchronizationJournal,
        },
        { //合同签订管理contractaddoredit
          path: '/contractlist',
          name: 'contractlist',
          component: contractlist
        },
        { //合同类型管理
          path: '/contractTypeManage',
          name: 'contractTypeManage',
          component: contractTypeManage,
        },
        { //合同类型新增/编辑/详情
          path: '/changeContractType',
          name: 'changeContractType',
          component: changeContractType
        },
        { //查看流程
          path: '/lookprogress',
          name: 'lookprogress',
          component: lookprogress
        },
        { //查看变更记录
          path: '/changerecord',
          name: 'changerecord',
          component: changerecord
        },
        { //查看变更记录
          path: '/changedetail',
          name: 'changedetail',
          component: changedetail
        },
        // { //签约方管理
        //   path: '/contractPartyManage',
        //   name: 'contractPartyManage',
        //   component: contractPartyManage
        // },
        { //内部法人管理
          path: '/intLegalPersonManage',
          name: 'intLegalPersonManage',
          component: intLegalPersonManage
        },
        { //渠道/经纪管理
          path: '/channelOrAgentManage',
          name: 'channelOrAgentManage',
          component: channelOrAgentManage
        },
        { //开发商管理
          path: '/developersManage',
          name: 'developersManage',
          component: developersManage
        },
        { //内部法人/编辑/详情
          path: '/changeLegalPerson',
          name: 'changeLegalPerson',
          component: changeLegalPerson
        },
        { //渠道/经纪人-管理/新增/编辑/详情
          path: '/changeChannelOrAgent',
          name: 'changeChannelOrAgent',
          component: changeChannelOrAgent
        },
        { //开发商-管理/新增/编辑/详情
          path: '/changeDevelopers',
          name: 'changeDevelopers',
          component: changeDevelopers
        },
        { //开发商-导入
          path: '/importLegalPerson',
          name: 'importLegalPerson',
          component: importLegalPerson
        },
        { //开发商-导入
          path: '/importChannelOrAgent',
          name: 'importChannelOrAgent',
          component: importChannelOrAgent
        },
        { //开发商-导入
          path: '/importDevelopers',
          name: 'importDevelopers',
          component: importDevelopers
        },
        { //范本管理
          path: '/contractModelManage',
          name: 'contractModelManage',
          component: contractModelManage
        },
        { //范本管理-新增编辑详情
          path: '/changeContractModel',
          name: 'changeContractModel',
          component: changeContractModel
        },
        { //新增or编辑合同
          path: '/contractaddoredit',
          name: 'contractaddoredit',
          component: contractaddoredit
        },
        { //进场函管理
          path: '/enterletter',
          name: 'enterletter',
          component: enterletter
        },
        { //进场函管理
          path: '/aelenterletter',
          name: 'aelenterletter',
          component: aelenterletter
        },
        { //合同查询
          path: '/contractsearch',
          name: 'contractsearch',
          component: contractsearch
        },
        { //合同终止
          path: '/contractend',
          name: 'contractend',
          component: contractend
        },
        { //新增合同终止
          path: '/addcontractend',
          name: 'addcontractend',
          component: addcontractend
        },
        // 员工分佣相关
        {
          path: '/intervalStandard', // 区间标准设置
          name: 'intervalStandard',
          component: intervalStandard
        },
        {
          path: '/intervalStandardAdd', // 区间标准设置 - 新建
          name: 'intervalStandardAdd',
          component: intervalStandardAdd
        },
        {
          path: '/transactionSettlement', //成交结算标准
          name: 'transactionSettlement',
          component: transactionSettlement
        },
        {
          path: '/transactionSettlementHandle', //成交结算标准 新增查看编辑
          name: 'transactionSettlementHandle',
          component: transactionSettlementHandle
        },
        {
          path: '/revenueSettlement', // 营收结算标准
          name: 'revenueSettlement',
          component: revenueSettlement
        },
        {
          path: '/revenueSettlementHandle', // 营收结算标准 - 新增和编辑查看
          name: 'revenueSettlementHandle',
          component: revenueSettlementHandle
        },
        {
          path: '/profitSettlement', // 利润结算标准
          name: 'profitSettlement',
          component: profitSettlement
        },
        {
          path: '/profitSettlementHandle', // 利润结算标准
          name: 'profitSettlementHandle',
          component: profitSettlementHandle
        },
        {
          path: '/profitIncentive', // 利润激励标准
          name: 'profitIncentive',
          component: profitIncentive
        },
        {
          path: '/profitIncentiveHandle', // 利润激励标准
          name: 'profitIncentiveHandle',
          component: profitIncentiveHandle
        },
        {
          path: '/performanceIncentive', // 业绩激励标准
          name: 'performanceIncentive',
          component: performanceIncentive
        },
        {
          path: '/performanceIncentiveHandle', // 业绩激励标准 - 新增和编辑查看
          name: 'performanceIncentiveHandle',
          component: performanceIncentiveHandle
        },
        {
          path: '/transactionCommission', // 交易佣金标准
          name: 'transactionCommission',
          component: transactionCommission
        },
        {
          path: '/transactionCommissionHandle', // 交易佣金标准 - 新增和编辑查看
          name: 'transactionCommissionHandle',
          component: transactionCommissionHandle
        },
        {
          path: '/achievementMonth',
          name: 'achievementMonth',
          component: achievementMonth
        },
        {
          path: '/achievementMonthDetail',
          name: 'achievementMonthDetail',
          component: achievementMonthDetail
        },
        {
          path: '/achievementMonthReport',
          name: 'achievementMonthReport',
          component: achievementMonthReport
        },
        {
          path: '/achievementYear',
          name: 'achievementYear',
          component: achievementYear
        },
        {
          path: '/achievementYearDetail',
          name: 'achievementYearDetail',
          component: achievementYearDetail
        },
        {
          path: '/achievementYearDetailChange',
          name: 'achievementYearDetailChange',
          component: achievementYearDetailChange
        },
        {
          path: '/createReport',
          name: 'createReport',
          component: createReport
        },
        {
          path: '/transactionCommissionGroupTable',
          name: 'transactionCommissionGroupTable',
          component: transactionCommissionGroupTable
        },
        {
          path: '/profitTable',
          name: 'profitTable',
          component: profitTable
        },
        {
          path: '/profittableReport',
          name: 'profittableReport',
          component: profittableReport
        },
        {
          path: '/profittableReportAdjust',
          name: 'profittableReportAdjust',
          component: profittableReportAdjust
        },
        {
          path: '/profitTableDetail',
          name: 'profitTableDetail',
          component: profitTableDetail
        },
        {
          path: '/profitTableDetailChange',
          name: 'profitTableDetailChange',
          component: profitTableDetailChange
        },
        {
          path: '/staffCommission',
          name: 'staffCommission',
          component: staffCommission
        },
        {
          path: '/staffCommissionView',
          name: 'staffCommissionView',
          component: staffCommissionView
        },
        {
          path: '/projectCommissionIncentiveStatement',
          name: 'projectCommissionIncentiveStatement',
          component: projectCommissionIncentiveStatement
        },
        {
          path: '/projectCommissionIncentiveView',
          name: 'projectCommissionIncentiveView',
          component: projectCommissionIncentiveView
        },
        {
          path: '/projectCommissionIncentiveViewDetail',
          name: 'projectCommissionIncentiveViewDetail',
          component: projectCommissionIncentiveViewDetail
        },
        {
          path: '/transactionCommissionStaffTable',
          name: 'transactionCommissionStaffTable',
          component: transactionCommissionStaffTable
        },
        {
          path: '/transactionCommissionTableReport',
          name: 'transactionCommissionTableReport',
          component: transactionCommissionTableReport
        },
        {
          path: '/transactionCommissionTable',
          name: 'transactionCommissionTable',
          component: transactionCommissionTable
        },
        {
          path: '/searchReport',
          name: 'searchReport',
          component: searchReport
        },
        {
          path: '/department',
          name: 'department',
          component: department
        },
        {
          path: '/businesslines',
          name: 'businesslines',
          component: businesslines
        },
        {
          path: '/post',
          name: 'post',
          component: post
        },
        {
          path: '/postnewbuilt',
          name: 'postnewbuilt',
          component: postnewbuilt
        },
        {
          path: '/subcommission',
          name: 'subcommission',
          component: subcommission
        },
        {
          path: '/subcommissionSet',
          name: 'subcommissionSet',
          component: subcommissionSet
        },
        {
          path: '/staffmanage',
          name: 'staffmanage',
          component: staffmanage
        },
        {
          path: '/staffnewbuilt',
          name: 'staffnewbuilt',
          component: staffnewbuilt
        },
        {
          path: '/projectlevel',
          name: 'projectlevel',
          component: projectlevel
        },
        {
          path: '/subcommissionDetail',
          name: 'subcommissionDetail',
          component: subcommissionDetail
        },
        {
          path: '/projectSubCommissionDetailSee',
          name: 'projectSubCommissionDetailSee',
          component: projectSubCommissionDetailSee
        },
        {
          path: '/transactionSettle',
          name: 'transactionSettle',
          component: transactionSettle
        },
        {
          path: '/transactionSettle2',
          name: 'transactionSettle2',
          component: transactionSettle2
        },
        {
          path: '/transactionSettleOrder',
          name: 'transactionSettleOrder',
          component: transactionSettleOrder
        },
        {
          path: '/transactionSettleReport',
          name: 'transactionSettleReport',
          component: transactionSettleReport
        },
        {
          path: '/revenueSettlementMonth',
          name: 'revenueSettlementMonth',
          component: revenueSettlementMonth
        },
        {
          path: '/revenueSettlementMonthDetail',
          name: 'revenueSettlementMonthDetail',
          component: revenueSettlementMonthDetail
        },
        {
          path: '/revenueSettlementMonthOrder',
          name: 'revenueSettlementMonthOrder',
          component: revenueSettlementMonthOrder
        },
        {
          path: '/revenueSettlementMonthReport',
          name: 'revenueSettlementMonthReport',
          component: revenueSettlementMonthReport
        },
        {
          path: '/revenueSettlementYear',
          name: 'revenueSettlementYear',
          component: revenueSettlementYear
        },
        {
          path: '/revenueSettlementYearReport',
          name: 'revenueSettlementYearReport',
          component: revenueSettlementYearReport
        },
        {
          path: '/profitSettlementPerformance',
          name: 'profitSettlementPerformance',
          component: profitSettlementPerformance
        },
        {
          path: '/profitSettlementReport',
          name: 'profitSettlementReport',
          component: profitSettlementReport
        },
        {
          path: '/achievementYearReport',
          name: 'achievementYearReport',
          component: achievementYearReport
        },


























        //----------------------------------------------------跟投页面--------------------------------------------------//
        //跟投-标准管理-项目合作标准列表
        //跟投-标准管理-项目合作标准-新增、详情、编辑
        {
          path: '/projectCooperate',
          name: 'projectCooperate',
          component: projectCooperate
        },
        {
          path: '/changeCooperate',
          name: 'changeCooperate',
          component: changeCooperate
        },
        //跟投-标准管理-佣金结算标准列表
        //跟投-标准管理-佣金结算标准-新增、详情、编辑
        {
          path: '/billingCommissions',
          name: 'billingCommissions',
          component: billingCommissions
        },
        {
          path: '/changeCommissions',
          name: 'changeCommissions',
          component: changeCommissions
        },
        //跟投-标准管理-费用管控标准列表
        //跟投-标准管理-费用管控标准-新增、详情、编辑
        {
          path: '/costControl',
          name: 'costControl',
          component: costControl
        },
        {
          path: '/changeCostControl',
          name: 'changeCostControl',
          component: changeCostControl
        },
        //跟投-标准管理-跟投管控标准列表
        //跟投-标准管理-跟投管控标准-新增、详情、编辑
        {
          path: '/followUpControl',
          name: 'followUpControl',
          component: followUpControl
        },
        {
          path: '/changeFollowUp',
          name: 'changeFollowUp',
          component: changeFollowUp
        },
        {
          path: '/dividendRule',
          name: 'dividendRule',
          component: dividendRule
        },
        {
          path: '/dividendRuleDetail',
          name: 'dividendRuleDetail',
          component: dividendRuleDetail
        },
        {
        	path: '/dividendRuleInfo',
        	name: 'dividendRuleInfo',
        	component: dividendRuleInfo
        },
        {
          path: '/investmentDistributionRule',
          name: 'investmentDistributionRule',
          component: investmentDistributionRule
        },
        {
          path: '/investmentRuleAdd',
          name: 'investmentRuleAdd',
          component: investmentRuleAdd
        },
        {
        	path: '/investmentRuleInfo',
        	name: 'investmentRuleInfo',
        	component: investmentRuleInfo
        },
        {
          path: '/trasferAudit',
          name: 'trasferAudit',
          component: trasferAudit
        },
        {
          path: '/transferAuditDetails',
          name: 'transferAuditDetails',
          component: transferAuditDetails
        },
        // 项目进展查看
        {
          path: '/projectProgress',
          name: 'projectProgress',
          component: projectProgress
        },
        // 项目进展查看-查看
        {
          path: '/projectProgressCheck',
          name: 'projectProgressCheck',
          component: projectProgressCheck
        },
        // 项目清算管理
        {
          path: '/projectLiquidationManagement',
          name: 'projectLiquidationManagement',
          component: projectLiquidationManagement
        },
        // 项目清算管理-生成清算
        {
          path: '/generatingLiquidation',
          name: 'generatingLiquidation',
          component: generatingLiquidation
        },
        // 项目清算管理-详情
        {
          path: '/liquidationDetail',
          name: 'liquidationDetail',
          component: liquidationDetail
        },
        // 跟投项目管理
        {
          path: '/projectList',
          name: 'projectList',
          component: projectList
        },
        {
          path: '/operateFollowPro',
          name: 'operateFollowPro',
          component: operateFollowPro
        },
        {
          path: '/followProDetails',
          name: 'followProDetails',
          component: followProDetails
        },
        //跟投收益记录列表，查看
        {
          path: '/investmentProfit',
          name: 'investmentProfit',
          component: investmentProfit
        },
        {
          path: '/viewProfit',
          name: 'viewProfit',
          component: viewProfit
        },

        {
          path: '/transferManagement',
          name: 'transferManagement',
          component: transferManagement
        },
        {
          path: '/transferAudit',
          name: 'transferAudit',
          component: transferAudit
        },
        {
          path: '/transferRejection',
          name: 'transferRejection',
          component: transferRejection
        },
        {
          path: '/examineDetail',
          name: 'examineDetail',
          component: examineDetail
        },
        // 费用结算管理
        {
          path: '/costSettlementManage',
          name: 'costSettlementManage',
          component: costSettlementManage
        },
        //跟投支付列表
        {
          path: '/investmentPayManage',
          name: 'investmentPayManage',
          component: investmentPayManage
        },
        // 跟投支付查看
        {
          path: '/viewInvestmentPay',
          name: 'viewInvestmentPay',
          component: viewInvestmentPay
        },









        /* ——————————————————————————————结算支付-返还款-银行转账-奖励佣金-金蝶辅助账start——————————————————————————————————————————————————— */
        {
          path: '/shoppingCardQuery',
          name: 'shoppingCardQuery',
          component: shoppingCardQuery
        },
        {
          path: '/shoppingCardSend',
          name: 'shoppingCardSend',
          component: shoppingCardSend
        },
        {
          path: '/shoppingCardSendDetail',
          name: 'shoppingCardSendDetail',
          component: shoppingCardSendDetail
        },
        {
          path: '/shoppingCardSendNew',
          name: 'shoppingCardSendNew',
          component: shoppingCardSendNew
        },
        {
          path: '/shoppingCardSettlement',
          name: 'shoppingCardSettlement',
          component: shoppingCardSettlement
        },
        {
          path: '/shoppingCardSettlementCommission',
          name: 'shoppingCardSettlementCommission',
          component: shoppingCardSettlementCommission
        },
        {
          path: '/shoppingCardSettlementTobeConfirm',
          name: 'shoppingCardSettlementTobeConfirm',
          component: shoppingCardSettlementTobeConfirm
        },
        {
          path: '/shoppingCardSettlementRecord',
          name: 'shoppingCardSettlementRecord',
          component: shoppingCardSettlementRecord
        },
        {
          path: '/shoppingCardStock',
          name: 'shoppingCardStock',
          component: shoppingCardStock
        },
        {
          path: '/shoppingCardStockBulkUpload',
          name: 'shoppingCardStockBulkUpload',
          component: shoppingCardStockBulkUpload
        },
        {
          path: '/shoppingCardStockRecord',
          name: 'shoppingCardStockRecord',
          component: shoppingCardStockRecord
        },
        {
          path: '/shoppingCardType',
          name: 'shoppingCardType',
          component: shoppingCardType
        },
        {
          path: '/customerMapping',
          name: 'customerMapping',
          component: customerMapping
        },
        {
          path: '/projectMapping',
          name: 'projectMapping',
          component: projectMapping
        },
        {
          path: '/supplierMapping',
          name: 'supplierMapping',
          component: supplierMapping
        },
        {
          path: '/transferAuditList',
          name: 'transferAuditList',
          component: transferAuditList
        },
        {
          path: '/transferAuditDetail',
          name: 'transferAuditDetail',
          component: transferAuditDetail
        },
        {
          path: '/transferViewDetail',
          name: 'transferViewDetail',
          component: transferViewDetail
        },
        {
          path: '/tobepaidlist',//待支付清单列表
          name: 'tobepaidlist',
          component: tobepaidlist
        },
        {
          path: '/payorderdetail',//待支付清单详情
          name: 'payorderdetail',
          component: payorderdetail
        },
        {
          path: '/settlesearch',//结算查询
          name: 'settlesearch',
          component: settlesearch
        },
        {
          path: '/searchsettle',//结算查询
          name: 'searchsettle',
          component: searchsettle
        },
        {
          path: '/payordercheck',//支付清单审批（单据）
          name: 'payordercheck',
          component: payordercheck
        },
        {
          path: '/payset',//支付清单审批（单据）confirmpayresult
          name: 'payset',
          component: payset
        },
        {
          path: '/confirmpayresult',//支付清单审批确认支付结果
          name: 'confirmpayresult',
          component: confirmpayresult
        },
        /* ——————————————————————————————结算支付-返还款-银行转账-奖励佣金-金蝶辅助账end——————————————————————————————————————————————————— */




         /* ——————————————————————————————财务管理-开发商返还款支付-开发商返还款查询-经纪人奖励管理start——————————————————————————————————————————————————— */
        {
          path: '/developerPayment',
          name: 'developerPayment',
          component: developerPayment
        },
        {
          path: '/addPayment',
          name: 'addPayment',
          component: addPayment
        },
        {
          path: '/developerPaymentSee',
          name: 'developerPaymentSee',
          component: developerPaymentSee
        },
        {
          path: '/editPayment',
          name: 'editPayment',
          component: editPayment
        },
        {
          path: '/developerQuery',
          name: 'developerQuery',
          component: developerQuery
        },
        {
          path: '/brokerAward',
          name: 'brokerAward',
          component: brokerAward
        },
        {
          path: '/brokerAwardDetail',
          name: 'brokerAwardDetail',
          component: brokerAwardDetail
        },
        {
          path: '/brokerAwardBatch',
          name: 'brokerAwardBatch',
          component: brokerAwardBatch
        },
        {
          path: '/bankNameSet',
          name: 'bankNameSet',
          component: bankNameSet
        },
		{
			path: '/cooperativelable',
			name: 'cooperativelable',
			component: cooperativelable
		},
		{
			path: '/projectSubCommissionSetKeyMan',
			name: 'projectSubCommissionSetKeyMan',
			component: projectSubCommissionSetKeyMan
		},
		{
			path: '/marketSettlement',
			name: 'marketSettlement',
			component: marketSettlement
		},
		{
			path: '/marketSettlementDetail',
			name: 'marketSettlementDetail',
			component: marketSettlementDetail
		},
		{
			path: '/marketSettlementOrder',
			name: 'marketSettlementOrder',
			component: marketSettlementOrder
		},
		{
			path: '/marketSettlementReport',
			name: 'marketSettlementReport',
			component: marketSettlementReport
		},
		{
			path: '/groupAwardApply',
			name: 'groupAwardApply',
			component: groupAwardApply
		},
		{
			path: '/groupAwardApplyFinance',
			name: 'groupAwardApplyFinance',
			component: groupAwardApplyFinance
		},
		{
			path: '/groupAwardApplyDetail',
			name: 'groupAwardApplyDetail',
			component: groupAwardApplyDetail
		},
		{
			path: '/groupAwardApplyInfo',
			name: 'groupAwardApplyInfo',
			component: groupAwardApplyInfo
		},
		{
			path: '/groupAwardApplyFinanceAudit',
			name: 'groupAwardApplyFinanceAudit',
			component: groupAwardApplyFinanceAudit
		},
        {path: '/groupAwardStandard', name: 'groupAwardStandard', component: groupAwardStandard},
        {path: '/marketCommissionStandard', name: 'marketCommissionStandard', component: marketCommissionStandard},
        {path: '/marketCommissionStandardHandle', name: 'marketCommissionStandardHandle', component: marketCommissionStandardHandle},
        {path: '/marketSettlementStandard', name: 'marketSettlementStandard', component: marketSettlementStandard},
        {path: '/marketSettlementStandardHandle', name: 'marketSettlementStandardHandle', component: marketSettlementStandardHandle},
        {path: '/profitStandardSetting', name: 'profitStandardSetting', component: profitStandardSetting},
        {path: '/profitStandardSettingHandle', name: 'profitStandardSettingHandle', component: profitStandardSettingHandle},
        {path: '/marketCommissionDetailTable', name: 'marketCommissionDetailTable', component: marketCommissionDetailTable},
        {path: '/marketCommissionReport', name: 'marketCommissionReport', component: marketCommissionReport},
        {path: '/marketCommissionTable', name: 'marketCommissionTable', component: marketCommissionTable},
        {path: '/groupAwardsTable', name: 'groupAwardsTable', component: groupAwardsTable},
        {path: '/groupAwardsTableDetail', name: 'groupAwardsTableDetail', component: groupAwardsTableDetail},
        
        //好生活2.0 财务管理
        {path: '/efCapitalSummary', name: 'efCapitalSummary', component: efCapitalSummary},//好生活资金池
        {path: '/efCommissionSummary', name: 'efCommissionSummary', component: efCommissionSummary},//好生活佣金汇总
        {path: '/buildingTradeDetail', name: 'buildingTradeDetail', component: buildingTradeDetail},//好生活佣金汇总-楼盘成交详情
        {path: '/brokerDealDetail', name: 'brokerDealDetail', component: brokerDealDetail},//好生活佣金汇总-楼盘成交详情
        {path: '/efcapitalSummaryDetail', name: 'efcapitalSummaryDetail', component: efcapitalSummaryDetail},//好生活佣金汇总-楼盘成交详情
        {path: '/brokerSettlement', name: 'brokerSettlement', component: brokerSettlement},//经纪人结佣-列表
        {path: '/companyDetail', name: 'companyDetail', component: companyDetail},//经纪人结佣-经纪公司佣金-成交详情
        {path: '/brokerDetail', name: 'brokerDetail', component: brokerDetail},//经纪人结佣-经纪人佣金-成交详情
        {path: '/rewardDeatil', name: 'rewardDeatil', component: rewardDeatil},//经纪人结佣-经纪人奖励-成交详情
        {path: '/returnConfirm', name: 'returnConfirm', component: returnConfirm},//回款确认
        {path: '/returnConfirmCheck', name: 'returnConfirmCheck', component: returnConfirmCheck},//回款确认-查看编辑
        {path: '/returnConfirmNew', name: 'returnConfirmNew', component: returnConfirmNew},//回款确认-新建批次
        
        //好生活2.0 财务管理end
        /*——————————————————————cms2.0——————————————————————————*/
        {path: '/rejectioncatory', name: 'rejectionCatory', component: rejectionCatory},
        {path: '/rejectionreason', name: 'rejectionReason', component: rejectionReason},
        {path: '/splashscreen', name: 'splashscreen', component: splashscreen},
        {path: '/addoredit', name: 'addoredit', component: addoredit},
        {path: '/customerList', name: 'customerList', component: customerList},
        {path: '/customerDetail', name: 'customerDetail', component: customerDetail},
        {path: '/userCenter', name: 'userCenter', component: userCenter},
        {path: '/userDetail', name: 'userDetail', component: userDetail},
        {path: '/rejectStatistics', name: 'rejectStatistics', component: rejectStatistics},
        {path: '/transactionAndCommission', name: 'transactionAndCommission', component: transactionAndCommission},
        {path: '/transactionCommissionNew', name: 'transactionCommissionNew', component: transactionCommissionNew},
        {path: '/transactionCommissionNewCheck', name: 'transactionCommissionNewCheck', component: transactionCommissionNewCheck},
        {path: '/ruleDetail', name: 'ruleDetail', component: ruleDetail},
        {path: '/kpiTarget', name: 'kpiTarget', component: kpiTarget},
        {path: '/targetDetail', name: 'targetDetail', component: targetDetail},
        {path: '/lifekpiCheck', name: 'lifekpiCheck', component: lifekpiCheck},
        {path: '/importData', name: 'importData', component: importData},
        {path: '/H3Reimbursement', name: 'H3Reimbursement', component: H3Reimbursement},
        {path: '/h3ViewProcess', name: 'h3ViewProcess', component: h3ViewProcess},
        {path: '/brokerAwarddddd', name: 'brokerAwarddddd', component: brokerAwarddddd},
        {path: '/shareAdd', name: 'shareAdd', component: shareAdd},
        {path: '/share', name: "share", component: share}
        
      ]
    }
  ]
})
